//
//  Slip.h
//  SKPAD
//
//  Created by admin@amonline.com.cn on 15/5/4.
//  Copyright (c) 2015年 amo. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface VerticalTwoToneSlip : UIControl

//背景颜色,渐变颜色12
@property (nonatomic, strong) UIColor *firstColor;
@property (nonatomic, strong) UIColor *secondColor;

//线宽度
@property (nonatomic, assign) CGFloat troughLineWidth;

//最父类
@property (nonatomic) CALayer * layerSlip;
//图层,截取渐变层用
@property (nonatomic, readonly, strong) CAShapeLayer *trackLayerSlip;
//颜色渐变层
@property (nonatomic) CAGradientLayer * gradientLayerSlip;
//当前值
@property (nonatomic) CGFloat value;
//改变图层位置大小
-(void)updateWithBounds:(CGRect)bounds;
@end
